
#ifndef _MEMBER_BELEMENT_H_
#define _MEMBER_BELEMENT_H_

#include <BElement>

#define element_member(element)		((member_BElement*)((BElement*)element)->_ptr)

namespace BWE
{
	class member_BElement
	{
	public:
		member_BElement(BElement* element);
		~member_BElement();

		BElement*				boss;
		BGeometry*				geometry;
		bool					visible;
		Primitive				primitive;
		int					first;
		int					count;
		BHolder<BIntArray>	indices;
		BHolder<BPieceArray>	pieces;
		BBox					box;
		BUInt					listName;
		bool					dirtyList;
	};
}

#endif
